drm/vc4: Add create and map BO ioctls.
authorEric Anholt <eric@anholt.net>
Sat, 17 Jan 2015 20:33:17 +0000 (09:33 +1300)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commitf12d175e7b68fd86b05c81ccd8149b97092b7c41
treec0001afaa18f6f28f22922fcc3abf0bd6d9e9a79
parent610cf9ef12394d5073680de1ffe006c58bc3170c
drm/vc4: Add create and map BO ioctls.

While there exist dumb APIs for creating and mapping BOs, one of the
rules is that drivers doing 3D acceleration have to provide their own
APIs for buffer allocation (besides, the pitch/height parameters of
the dumb alloc don't really make sense for a lot of 3D allocations).

v2: Use __u32-style types, use "drm.h" instead of <drm/drm.h>.

Signed-off-by: Eric Anholt <eric@anholt.net>
Gbp-Pq: Topic features/arm/rpi
Gbp-Pq: Name drm-vc4-add-create-and-map-bo-ioctls.patch
drivers/gpu/drm/vc4/vc4_bo.c
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_drv.h
include/uapi/drm/Kbuild
include/uapi/drm/vc4_drm.h [new file with mode: 0644]